package com.fangcun.mapper;

import java.util.List;

import com.fangcun.bean.admin.floor.FloorTeahouseSearchRequest;
import com.fangcun.bean.admin.floor.FloorTeahouseSearchResponse;
import com.fangcun.bean.admin.teahouse.response.TeahouseSearchResponse;
import com.fangcun.bean.api.floor.request.FloorRoomSearchRequest;
import com.fangcun.bean.api.teahouse.response.TeahouseResponse;
import com.fangcun.entity.Teahouse;

public interface TeahouseMapper {

	int deleteByPrimaryKey(Long id);

	int insert(Teahouse record);

	int insertSelective(Teahouse record);

	Teahouse selectByPrimaryKey(Long id);

	int updateByPrimaryKey(Teahouse record);

	List<TeahouseResponse> apiDetail(Teahouse request);

	int updateByPrimaryKeySelective(Teahouse record);

	com.fangcun.bean.api.floor.response.TeahouseResponse selectById(FloorRoomSearchRequest request);
	
	List<TeahouseSearchResponse> selectAll(Teahouse request);

	List<FloorTeahouseSearchResponse> listForAdmin(FloorTeahouseSearchRequest request);

}